package com.incar.chuxing.activity;

import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.ImageView;
import android.widget.RelativeLayout;
import android.widget.TextView;

import com.incar.chuxing.R;
import com.incar.chuxing.base.BaseActivity;
import com.incar.chuxing.utils.IntentKey;
import com.zhy.autolayout.AutoRelativeLayout;

import butterknife.BindView;
import butterknife.ButterKnife;
import butterknife.OnClick;

public class UserGuideActivity extends BaseActivity implements View.OnClickListener {


    @BindView(R.id.title_name)
    TextView titleName;
    @BindView(R.id.title_back)
    ImageView titleBack;
    @BindView(R.id.title_more)
    ImageView titleMore;
    @BindView(R.id.detail_order_toolbar_car)
    RelativeLayout detailOrderToolbarCar;
    @BindView(R.id.layout_register)
    AutoRelativeLayout layoutRegister;
    @BindView(R.id.layout_findcar)
    AutoRelativeLayout layoutFindcar;
    @BindView(R.id.layout_money)
    AutoRelativeLayout layoutMoney;
    @BindView(R.id.layout_cashdeposit)
    AutoRelativeLayout layoutCashdeposit;
    @BindView(R.id.layout_returncar)
    AutoRelativeLayout layoutReturncar;
    @BindView(R.id.layout_aboutus)
    AutoRelativeLayout layoutAboutus;
    @BindView(R.id.layout_call)
    AutoRelativeLayout layoutCall;
    @BindView(R.id.layout_email)
    AutoRelativeLayout layoutEmail;
  private String  title , isH5Title, url ;

    @Override
    public int getLayoutId() {
        return R.layout.activity_userguide;
    }

    @Override
    public void initView() {
        titleName.setText("用户指南");
    }

    @Override
    public void initData() {
        super.initData();
    }

    @OnClick({R.id.title_back,R.id.layout_aboutus,R.id.layout_register,R.id.layout_findcar,R.id.layout_money,R.id.layout_cashdeposit,R.id.layout_returncar})
    public void onClick(View view) {
        switch (view.getId()) {
            case R.id.title_back:
                finish();
                break;
            case R.id.layout_aboutus:
                Intent intent=new Intent(getApplicationContext(), AboutUsActivity.class);
                startActivity(intent);
                break;
            case R.id.layout_register:
               break;
            case R.id.layout_findcar:
                break;
            case R.id.layout_money:
                break;
            case R.id.layout_cashdeposit:
                break;
            case R.id.layout_returncar:
                break;

        }
    }


}